package com.jhhc.FloodForecast.Sensor.Dao;

import com.jhhc.FloodForecast.Sensor.Pojo.BDMS_ST_STBPRP_B;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BDMS_ST_STBPRP_BMapper {

    List<BDMS_ST_STBPRP_B> selectStationByProject(@Param("project") Integer Project);

    List<BDMS_ST_STBPRP_B> selectByPid(@Param("projectId") int projectId,
                             @Param("stationCodes") List<String> stationCodes);


    List<BDMS_ST_STBPRP_B> getStationInfos(@Param("projectId") int projectId,
                                           @Param("sttps") String[] sttps);


    BDMS_ST_STBPRP_B selsctByPidAndStcd(@Param("projectId") int projectId,
                                        @Param("stcd") String stcd);

    List<BDMS_ST_STBPRP_B> selectByCity();
}

